package com.android.aishangauction.model.auction;

import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/10/25.
 */

public class AuctionHistoryData {
    private boolean flag;
    private int code;
    private String msg;
    private int time;
    private String data;
    private int list_total;
    private AuctionBean auction;
    private List<ListBean> list;

    public int getList_total() {
        return list_total;
    }

    public void setList_total(int list_total) {
        this.list_total = list_total;
    }

    public AuctionBean getAuction() {
        return auction;
    }

    public void setAuction(AuctionBean auction) {
        this.auction = auction;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }
    public  static  class  AuctionBean
    {
        private String title;
        private String thumb;
        private String avg_price;
        private String market_price;
        private String cost_price;

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getThumb() {
            return thumb;
        }

        public void setThumb(String thumb) {
            this.thumb = thumb;
        }

        public String getAvg_price() {
            return avg_price;
        }

        public void setAvg_price(String avg_price) {
            this.avg_price = avg_price;
        }

        public String getMarket_price() {
            return market_price;
        }

        public void setMarket_price(String market_price) {
            this.market_price = market_price;
        }

        public String getCost_price() {
            return cost_price;
        }

        public void setCost_price(String cost_price) {
            this.cost_price = cost_price;
        }
    }
    public static class  ListBean implements MultiItemEntity
    {
        private int itemType;
        public static final int THREE = 3;

        public ListBean(int itemType) {
            this.itemType = itemType;
        }

        public ListBean(int itemType, String id,String order_sn,String mid
                , String username,String c_time,String price,String mobile,
                        String nickname,String c_time_format,String photo,String diff, String period) {
            this.itemType = itemType;
            this.id = id;
            this.order_sn = order_sn;
            this.mid = mid;
            this.username = username;
            this.c_time = c_time;
            this.price = price;
            this.mobile = mobile;
            this.nickname = nickname;
            this.c_time_format = c_time_format;
            this.photo = photo;
            this.diff = diff;
            this.period =period;
        }


        @Override
        public int getItemType() {
            return itemType;
        }
        private String id;
        private String order_sn;
        private String mid;
        private String username;
        private String c_time;
        private String price;
        private String mobile;
        private String nickname;
        private String c_time_format;
        private String photo;
        private String diff;
        private String period;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getOrder_sn() {
            return order_sn;
        }

        public void setOrder_sn(String order_sn) {
            this.order_sn = order_sn;
        }

        public String getMid() {
            return mid;
        }

        public void setMid(String mid) {
            this.mid = mid;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getPrice() {
            return price;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getC_time() {
            return c_time;
        }

        public void setC_time(String c_time) {
            this.c_time = c_time;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getC_time_format() {
            return c_time_format;
        }

        public void setC_time_format(String c_time_format) {
            this.c_time_format = c_time_format;
        }

        public String getPhoto() {
            return photo;
        }

        public void setPhoto(String photo) {
            this.photo = photo;
        }

        public String getDiff() {
            return diff;
        }

        public void setDiff(String diff) {
            this.diff = diff;
        }

        public String getPeriod() {
            return period;
        }

        public void setPeriod(String period) {
            this.period = period;
        }
    }
}
